package com.ruoyi.system.service.impl;

import java.util.List;

import com.ruoyi.system.domain.ZhwyTemporarydeposit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ZhwyPaymentbillHouseMapper;
import com.ruoyi.system.domain.ZhwyPaymentbillHouse;
import com.ruoyi.system.service.IZhwyPaymentbillHouseService;

/**
 * 收费统计商铺1Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-10
 */
//222222
//
@Service
public class ZhwyPaymentbillHouseServiceImpl implements IZhwyPaymentbillHouseService 
{
//
    @Autowired
    private ZhwyPaymentbillHouseMapper zhwyPaymentbillHouseMapper;

    @Override
    public List<ZhwyTemporarydeposit> getSumGroupByShop(String beginTime, String endTime) {
        return zhwyPaymentbillHouseMapper.selectSumGroupByShop(beginTime,endTime);
    }

    /**
     * 查询收费统计商铺1
     * 
     * @param id 收费统计商铺1主键
     * @return 收费统计商铺1
     */
    @Override
    public ZhwyPaymentbillHouse selectZhwyPaymentbillHouseById(String id)
    {
        return zhwyPaymentbillHouseMapper.selectZhwyPaymentbillHouseById(id);
    }

    /**
     * 查询收费统计商铺1列表
     * 
     * @param zhwyPaymentbillHouse 收费统计商铺1
     * @return 收费统计商铺1
     */
    @Override
    public List<ZhwyPaymentbillHouse> selectZhwyPaymentbillHouseList(ZhwyPaymentbillHouse zhwyPaymentbillHouse)
    {
        return zhwyPaymentbillHouseMapper.selectZhwyPaymentbillHouseList(zhwyPaymentbillHouse);
    }

    /**
     * 新增收费统计商铺1
     * 
     * @param zhwyPaymentbillHouse 收费统计商铺1
     * @return 结果
     */
    @Override
    public int insertZhwyPaymentbillHouse(ZhwyPaymentbillHouse zhwyPaymentbillHouse)
    {
        return zhwyPaymentbillHouseMapper.insertZhwyPaymentbillHouse(zhwyPaymentbillHouse);
    }

    /**
     * 修改收费统计商铺1
     * 
     * @param zhwyPaymentbillHouse 收费统计商铺1
     * @return 结果
     */
    @Override
    public int updateZhwyPaymentbillHouse(ZhwyPaymentbillHouse zhwyPaymentbillHouse)
    {
        return zhwyPaymentbillHouseMapper.updateZhwyPaymentbillHouse(zhwyPaymentbillHouse);
    }

    /**
     * 批量删除收费统计商铺1
     * 
     * @param ids 需要删除的收费统计商铺1主键
     * @return 结果
     */
    @Override
    public int deleteZhwyPaymentbillHouseByIds(String[] ids)
    {
        return zhwyPaymentbillHouseMapper.deleteZhwyPaymentbillHouseByIds(ids);
    }

    /**
     * 删除收费统计商铺1信息
     * 
     * @param id 收费统计商铺1主键
     * @return 结果
     */
    @Override
    public int deleteZhwyPaymentbillHouseById(String id)
    {
        return zhwyPaymentbillHouseMapper.deleteZhwyPaymentbillHouseById(id);
    }
}
